package com.bnz.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 类名：
 * 作者：WF
 * 功能：
 */
@PropertySource("classpath:test/test.properties")
@ConfigurationProperties(prefix = "my2")
@Component
@Data
public class MyConfig {

	private List<Student> students;
}
